package com.dayuanit.demo ;                           //打包名称：域名倒置.包名
//import com.dayuanit.school.School;
import com.dayuanit.users.Person;                   //导入类：当前类中所引用的其他类，都需要进行导入。
import com.dayuanit.tools.Computer;
//import com.dayuanit.test.Test;
import com.dayuanit.tools.Bike;

public class Demo {
	public static void main(String[] args) {
		Person person = new Person ( ) ;
		
		//Bike bike = new Bike ( );
		//person.setBike( bike);      
		person.setBike(new Bike( )) ;

		person.setComputer (new Computer( )) ;
		
		person.setName ("小明") ;
		person.setAge(18 );
		person.setSex ("男");
		person.setAdds( "南京市浦口区天润城十四街区");


		person.goToSchool ( );
		
		person.doTest( );
	}
}